// component/info-card/index.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {

    card: {
      type: Boolean,
      value: false
    },
    phone: String,
    src: String,
    name: String,
    sex: String,
    subject: String,
    school: String,
    honor: String,
    desc: String

  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {

    phoneCall(){
      wx.makePhoneCall({
        phoneNumber: this.properties.phone //仅为示例，并非真实的电话号码
      })
    }


  }
})
